package com.weixing.mall.core.annotation;

import java.lang.annotation.*;

/**
 * 表单防重复提交注解
 *
 * @Author: kfc
 * @Description: <br/>
 * Date:Create in 2019/8/9 9:33
 * @Modified By:
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface NoRepeatSubmit {
    //    获取锁等待时间
    int waitTime() default 1;

    //    超出时间，锁自动释放
    int leaseTime() default 10;
}
